<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>抢单页面</title>

    <script type="text/javascript" src="https://cdn-hangzhou.goeasy.io/goeasy.js"></script>

    <script type="text/javascript">
        var goEasy = new GoEasy({
            appkey: 'BC-79e2545c6c9c4d7984ebdc99755052ba'
        });

        goEasy.subscribe({
            channel: 'order_push',
            onMessage: function (message) {
                alert('接收到消息:' + message.content);//拿到了信息之后，你可以做你任何想做的事
            }
        });
    </script>
</head>
<body>

</body>
</html>
